package com.fand.acceptControl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.fand.acceptControl.vo.RoleVo;
import com.fand.common.service.CommonService;

/**
 * 角色
 * 
 * @author haitao.yao
 */
@Controller
public class RoleController {
	/**
	 * 公共服务
	 */
	@Qualifier(CommonService.BEAN_ID)
	@Autowired(required = false)
	private CommonService commonService;

	/**
	 * 角色主页面
	 * 
	 * @param RoleVo
	 * @return 模板路径
	 */
	@RequestMapping(value = { "/acceptControl/role.htm", "/acceptControl/role/index.htm" }, method = RequestMethod.GET)
	public String acceptControlAcceptControlindex(final RoleVo RoleVo) {
		return "acceptControl/role/index";
	}
}
